package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统信息对象 sys_info
 *
 * @author ZGL
 * @date 2025-03-10
 */
public class SysInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 系统名称 */
    @Excel(name = "系统名称")
    private String name;

    /** 系统Logo */
    @Excel(name = "系统Logo")
    private String logo;

    /** 登录背景图 */
    @Excel(name = "登录背景图")
    private String loginBg;

    /** 登录框位置 */
    @Excel(name = "登录框位置")
    private String loginBoxLocation;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** CRUD最多导出记录条数 */
    @Excel(name = "CRUD最多导出记录条数")
    private int sysMaxExportCount;

    /** 优树搭服务地址 */
    @Excel(name = "优树搭服务地址")
    private String ysdBaseUrl;

    /** 优树搭AI智能体 */
    private String ysdLlmWorkspaceSlug;

    /** 是否启用系统水印 */
    @Excel(name = "是否启用系统水印")
    private String enabledSysWatermark;

    /** 系统水印API编码 */
    @Excel(name = "系统水印API编码")
    private String sysWatermarkApiCode;

    /** 用户token失效时间 */
    @Excel(name = "用户token失效时间")
    private Integer expireTime;

    /** 删除标记 */
    private String delFlag;

    /** 记录标识__新增数据时，生成的唯一值 */
    private String defPk;

    /** 默认与主表关联值 */
    private String defFk;


    public String getLoginBg() {
        return loginBg;
    }

    public void setLoginBg(String loginBg) {
        this.loginBg = loginBg;
    }

    public String getLoginBoxLocation() {
        return loginBoxLocation;
    }

    public void setLoginBoxLocation(String loginBoxLocation) {
        this.loginBoxLocation = loginBoxLocation;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setLogo(String logo)
    {
        this.logo = logo;
    }

    public String getLogo()
    {
        return logo;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDefPk(String defPk)
    {
        this.defPk = defPk;
    }

    public String getDefPk()
    {
        return defPk;
    }
    public void setDefFk(String defFk)
    {
        this.defFk = defFk;
    }

    public String getDefFk()
    {
        return defFk;
    }

    public String getYsdBaseUrl() {
        return ysdBaseUrl;
    }

    public void setYsdBaseUrl(String ysdBaseUrl) {
        this.ysdBaseUrl = ysdBaseUrl;
    }

    public String getEnabledSysWatermark() {
        return enabledSysWatermark;
    }

    public void setEnabledSysWatermark(String enabledSysWatermark) {
        this.enabledSysWatermark = enabledSysWatermark;
    }

    public String getSysWatermarkApiCode() {
        return sysWatermarkApiCode;
    }

    public void setSysWatermarkApiCode(String sysWatermarkApiCode) {
        this.sysWatermarkApiCode = sysWatermarkApiCode;
    }

    public int getSysMaxExportCount() {
        return sysMaxExportCount;
    }

    public void setSysMaxExportCount(int sysMaxExportCount) {
        this.sysMaxExportCount = sysMaxExportCount;
    }

    public void setExpireTime(Integer expireTime) {
        this.expireTime = expireTime;
    }

    public Integer getExpireTime() {
        return expireTime;
    }


    public String getYsdLlmWorkspaceSlug() {
        return ysdLlmWorkspaceSlug;
    }

    public void setYsdLlmWorkspaceSlug(String ysdLlmWorkspaceSlug) {
        this.ysdLlmWorkspaceSlug = ysdLlmWorkspaceSlug;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("defPk", getDefPk())
            .append("defFk", getDefFk())
            .toString();
    }
}
